import request from '../../utils/request';

/**
 * 获取页jump数据
 */
export function fetch() {
  return request(is.CONST.urls.page_jump, {
    method: 'GET',
  });
}

/**
 * 更新页jump数据
 */
export function update(jumpData) {
  return request(is.CONST.urls.page_jump, {
    method: 'POST',
    body: JSON.stringify(jumpData),
  });
}
